package com.example.test.bean;

import java.util.List;

public interface TreeNode<T> {

    String getId();

    String getParentId();

    Integer getDepth();

    List<T> getChildren();

    void setChildren(List<T> children);
}
